<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Whack-a-Mole Game 🦫</title>
    <link rel="stylesheet" href="styles.css" />
  </head>
  <body>
    <h1>Whack-a-Mole 🦫</h1>

    <div class="scoreboard">
      <p>Score: <span id="score">0</span></p>
      <label for="difficulty">Difficulty:</label>
      <select id="difficulty">
        <option value="beginner" selected>Beginner</option>
        <option value="easy">Easy</option>
        <option value="medium">Medium</option>
        <option value="hard">Hard</option>
      </select>
      <p>Time: <span id="time-left">30</span>s</p>
      <button id="start-btn">Start Game</button>
      <button id="reset-btn" disabled>Reset Game</button>
    </div>

    <div class="grid">
      <!-- 9 holes -->
      <div class="hole" data-index="0"></div>
      <div class="hole" data-index="1"></div>
      <div class="hole" data-index="2"></div>
      <div class="hole" data-index="3"></div>
      <div class="hole" data-index="4"></div>
      <div class="hole" data-index="5"></div>
      <div class="hole" data-index="6"></div>
      <div class="hole" data-index="7"></div>
      <div class="hole" data-index="8"></div>
    </div>

    <script type="module" src="index.mjs"></script>
  </body>
</html>
